package com.chianghao.qyt.service;

import com.chianghao.qyt.entity.SysOperationMenu;

import java.util.List;

public interface SysOperationMenuService {

    /**
     * 获取所有菜单
     * @return
     */
    List<SysOperationMenu> allMenus();


    /**
     * 查询用户的菜单
     * @param userId
     * @return
     */
    List<SysOperationMenu> loadUserMenus(Long userId);
}
